package core.layer
{
	/**
	 *UI层 
	 */	
	import core.XUIGroup;
	
	import flash.display.Sprite;

	public class XUILayer extends Sprite
	{
		private static var _instance : XUILayer;
		
		private var _uiGroup : XUIGroup = new XUIGroup;
		
		public function XUILayer()
		{
		}
		
		public function add() : void
		{
			
		}
		
		public function get uiGroup() : XUIGroup
		{
			return _uiGroup;
		}
		
		public static function get Instance() : XUILayer
		{
			if(!_instance)
			{
				_instance = new XUILayer;
			}
			
			return _instance;
		}
	}
}